/** Painter.java
 *
 * @author Somanath
 * @version 1.1 (last updated 15/9/02)
 *
 * class Dependencies: None
 */

package gamepack;

import java.util.Vector;

public class Utils {

    // Simply concatenates 2 vectors
    public static Vector[] concatVectors(Vector[] a1,Vector[] a2) {
            Vector[] retVec = new Vector[ a1.length + a2.length ];
            for( int i=0;i< a1.length; i++) {
                 retVec[i] = a1[i];
            }
            for( int i=0;i<a2.length; i++) {
                 retVec[ a1.length + i ] = a2[i];
            }
            return retVec;
    }
}